<template>
  <div>{{ msg }}</div>
  <div>{{ title }}</div>
  <el-button @click="handleClick">submit</el-button>
</template>

<script setup lang="ts">
const msg = "Child Block";
const emit = defineEmits(["childClick"]);
const { title } = defineProps({
  title: String,
});

const handleClick = (e: MouseEvent) => {
  emit("childClick", e);
};
</script>

<style></style>
